home *** CD-ROM | disk | FTP | other *** search
/ Garbo / Garbo.cdr / mac / hypercrd / hc2_x / newspeak.sit / TCP NewsTalk_Puhu 1.5 Eng / background_2599.xml next >
Extensible Markup Language  |  1991-09-30  |  33KB  |  989 lines

  1. <?xml version="1.0" encoding="utf-8" ?>
  2. <!DOCTYPE background PUBLIC "-//Apple, Inc.//DTD background V 2.0//EN" "" >
  3. <background>
  4.     <id>2599</id>
  5.     <filler1>0</filler1>
  6.     <bitmap>BMAP_3901.pbm</bitmap>
  7.     <cantDelete> <false /> </cantDelete>
  8.     <showPict> <true /> </showPict>
  9.     <dontSearch> <false /> </dontSearch>
  10.     <link rel="stylesheet" type="text/css" href="stylesheet_2238.css" />
  11.     <part>
  12.         <id>43</id>
  13.         <type>field</type>
  14.         <visible> <true /> </visible>
  15.         <dontWrap> <false /> </dontWrap>
  16.         <dontSearch> <false /> </dontSearch>
  17.         <sharedText> <false /> </sharedText>
  18.         <fixedLineHeight> <true /> </fixedLineHeight>
  19.         <autoTab> <true /> </autoTab>
  20.         <lockText> <false /> </lockText>
  21.         <rect>
  22.             <left>127</left>
  23.             <top>209</top>
  24.             <right>333</right>
  25.             <bottom>226</bottom>
  26.         </rect>
  27.         <style>shadow</style>
  28.         <autoSelect> <false /> </autoSelect>
  29.         <showLines> <false /> </showLines>
  30.         <wideMargins> <false /> </wideMargins>
  31.         <multipleLines> <false /> </multipleLines>
  32.         <reservedFamily> 0 </reservedFamily>
  33.         <titleWidth>0</titleWidth>
  34.         <icon>0</icon>
  35.         <textAlign>left</textAlign>
  36.         <font>Geneva</font>
  37.         <textSize>9</textSize>
  38.         <textStyle>bold</textStyle>
  39.         <textHeight>12</textHeight>
  40.         <name>hostName</name>
  41.         <script>on closeFieldput TCPNameToAddr(field "hostName") into field "address"end closeField</script>
  42.     </part>
  43.     <part>
  44.         <id>26</id>
  45.         <type>field</type>
  46.         <visible> <true /> </visible>
  47.         <dontWrap> <false /> </dontWrap>
  48.         <dontSearch> <false /> </dontSearch>
  49.         <sharedText> <false /> </sharedText>
  50.         <fixedLineHeight> <true /> </fixedLineHeight>
  51.         <autoTab> <true /> </autoTab>
  52.         <lockText> <true /> </lockText>
  53.         <rect>
  54.             <left>22</left>
  55.             <top>231</top>
  56.             <right>263</right>
  57.             <bottom>248</bottom>
  58.         </rect>
  59.         <style>transparent</style>
  60.         <autoSelect> <false /> </autoSelect>
  61.         <showLines> <true /> </showLines>
  62.         <wideMargins> <false /> </wideMargins>
  63.         <multipleLines> <false /> </multipleLines>
  64.         <reservedFamily> 0 </reservedFamily>
  65.         <titleWidth>0</titleWidth>
  66.         <icon>0</icon>
  67.         <textAlign>right</textAlign>
  68.         <font>Geneva</font>
  69.         <textSize>9</textSize>
  70.         <textStyle>plain</textStyle>
  71.         <textHeight>12</textHeight>
  72.         <name>address</name>
  73.         <script></script>
  74.     </part>
  75.     <part>
  76.         <id>2</id>
  77.         <type>field</type>
  78.         <visible> <true /> </visible>
  79.         <dontWrap> <false /> </dontWrap>
  80.         <dontSearch> <false /> </dontSearch>
  81.         <sharedText> <false /> </sharedText>
  82.         <fixedLineHeight> <true /> </fixedLineHeight>
  83.         <autoTab> <false /> </autoTab>
  84.         <lockText> <true /> </lockText>
  85.         <rect>
  86.             <left>16</left>
  87.             <top>26</top>
  88.             <right>228</right>
  89.             <bottom>185</bottom>
  90.         </rect>
  91.         <style>scrolling</style>
  92.         <autoSelect> <false /> </autoSelect>
  93.         <showLines> <false /> </showLines>
  94.         <wideMargins> <false /> </wideMargins>
  95.         <multipleLines> <false /> </multipleLines>
  96.         <reservedFamily> 0 </reservedFamily>
  97.         <titleWidth>0</titleWidth>
  98.         <icon>0</icon>
  99.         <textAlign>left</textAlign>
  100.         <font>Geneva</font>
  101.         <textSize>9</textSize>
  102.         <textStyle>plain</textStyle>
  103.         <textHeight>12</textHeight>
  104.         <name>screen</name>
  105.         <script></script>
  106.     </part>
  107.     <part>
  108.         <id>7</id>
  109.         <type>button</type>
  110.         <visible> <true /> </visible>
  111.         <reserved5> 0 </reserved5>
  112.         <reserved4> 0 </reserved4>
  113.         <reserved3> 0 </reserved3>
  114.         <reserved2> 0 </reserved2>
  115.         <reserved1> 0 </reserved1>
  116.         <enabled> <true /> </enabled>
  117.         <rect>
  118.             <left>469</left>
  119.             <top>304</top>
  120.             <right>501</right>
  121.             <bottom>333</bottom>
  122.         </rect>
  123.         <style>shadow</style>
  124.         <showName> <false /> </showName>
  125.         <highlight> <false /> </highlight>
  126.         <autoHighlight> <false /> </autoHighlight>
  127.         <sharedHighlight> <true /> </sharedHighlight>
  128.         <family>0</family>
  129.         <titleWidth>0</titleWidth>
  130.         <icon>21700</icon>
  131.         <textAlign>center</textAlign>
  132.         <font>Chicago</font>
  133.         <textSize>12</textSize>
  134.         <textStyle>plain</textStyle>
  135.         <name>Home</name>
  136.         <script>on mouseUpvisual effect iris opengo Homeend mouseUp</script>
  137.     </part>
  138.     <part>
  139.         <id>18</id>
  140.         <type>button</type>
  141.         <visible> <true /> </visible>
  142.         <reserved5> 0 </reserved5>
  143.         <reserved4> 0 </reserved4>
  144.         <reserved3> 0 </reserved3>
  145.         <reserved2> 0 </reserved2>
  146.         <reserved1> 0 </reserved1>
  147.         <enabled> <true /> </enabled>
  148.         <rect>
  149.             <left>432</left>
  150.             <top>304</top>
  151.             <right>464</right>
  152.             <bottom>333</bottom>
  153.         </rect>
  154.         <style>shadow</style>
  155.         <showName> <false /> </showName>
  156.         <highlight> <false /> </highlight>
  157.         <autoHighlight> <false /> </autoHighlight>
  158.         <sharedHighlight> <true /> </sharedHighlight>
  159.         <family>0</family>
  160.         <titleWidth>0</titleWidth>
  161.         <icon>2478</icon>
  162.         <textAlign>center</textAlign>
  163.         <font>Chicago</font>
  164.         <textSize>12</textSize>
  165.         <textStyle>plain</textStyle>
  166.         <name>Home</name>
  167.         <script>on mouseUpvisual effect iris opengo to next cardend mouseUp</script>
  168.     </part>
  169.     <part>
  170.         <id>27</id>
  171.         <type>field</type>
  172.         <visible> <true /> </visible>
  173.         <dontWrap> <false /> </dontWrap>
  174.         <dontSearch> <false /> </dontSearch>
  175.         <sharedText> <false /> </sharedText>
  176.         <fixedLineHeight> <true /> </fixedLineHeight>
  177.         <autoTab> <true /> </autoTab>
  178.         <lockText> <false /> </lockText>
  179.         <rect>
  180.             <left>208</left>
  181.             <top>248</top>
  182.             <right>265</right>
  183.             <bottom>264</bottom>
  184.         </rect>
  185.         <style>transparent</style>
  186.         <autoSelect> <false /> </autoSelect>
  187.         <showLines> <true /> </showLines>
  188.         <wideMargins> <false /> </wideMargins>
  189.         <multipleLines> <false /> </multipleLines>
  190.         <reservedFamily> 0 </reservedFamily>
  191.         <titleWidth>0</titleWidth>
  192.         <icon>0</icon>
  193.         <textAlign>right</textAlign>
  194.         <font>Geneva</font>
  195.         <textSize>9</textSize>
  196.         <textStyle>plain</textStyle>
  197.         <textHeight>12</textHeight>
  198.         <name>port</name>
  199.         <script></script>
  200.     </part>
  201.     <part>
  202.         <id>28</id>
  203.         <type>field</type>
  204.         <visible> <true /> </visible>
  205.         <dontWrap> <false /> </dontWrap>
  206.         <dontSearch> <false /> </dontSearch>
  207.         <sharedText> <false /> </sharedText>
  208.         <fixedLineHeight> <true /> </fixedLineHeight>
  209.         <autoTab> <true /> </autoTab>
  210.         <lockText> <false /> </lockText>
  211.         <rect>
  212.             <left>208</left>
  213.             <top>264</top>
  214.             <right>265</right>
  215.             <bottom>280</bottom>
  216.         </rect>
  217.         <style>transparent</style>
  218.         <autoSelect> <false /> </autoSelect>
  219.         <showLines> <true /> </showLines>
  220.         <wideMargins> <false /> </wideMargins>
  221.         <multipleLines> <false /> </multipleLines>
  222.         <reservedFamily> 0 </reservedFamily>
  223.         <titleWidth>0</titleWidth>
  224.         <icon>0</icon>
  225.         <textAlign>right</textAlign>
  226.         <font>Geneva</font>
  227.         <textSize>9</textSize>
  228.         <textStyle>plain</textStyle>
  229.         <textHeight>12</textHeight>
  230.         <name>local port</name>
  231.         <script></script>
  232.     </part>
  233.     <part>
  234.         <id>29</id>
  235.         <type>button</type>
  236.         <visible> <true /> </visible>
  237.         <reserved5> 0 </reserved5>
  238.         <reserved4> 0 </reserved4>
  239.         <reserved3> 0 </reserved3>
  240.         <reserved2> 0 </reserved2>
  241.         <reserved1> 0 </reserved1>
  242.         <enabled> <true /> </enabled>
  243.         <rect>
  244.             <left>22</left>
  245.             <top>229</top>
  246.             <right>94</right>
  247.             <bottom>281</bottom>
  248.         </rect>
  249.         <style>shadow</style>
  250.         <showName> <true /> </showName>
  251.         <highlight> <false /> </highlight>
  252.         <autoHighlight> <true /> </autoHighlight>
  253.         <sharedHighlight> <true /> </sharedHighlight>
  254.         <family>0</family>
  255.         <titleWidth>0</titleWidth>
  256.         <icon>2002</icon>
  257.         <textAlign>center</textAlign>
  258.         <font>Geneva</font>
  259.         <textSize>10</textSize>
  260.         <textStyle>plain</textStyle>
  261.         <name>Open</name>
  262.         <script>on mouseUpglobal connectionIDif connectionID is not empty then exit mouseupput TCPActiveOpen(item 1 of field "address", field "port", ┬¼field "local port") into connectionIDif connectionID contains "fail" thenput "The Result:" && connectionIDput empty into connectionIDend ifend mouseUp</script>
  263.     </part>
  264.     <part>
  265.         <id>31</id>
  266.         <type>button</type>
  267.         <visible> <true /> </visible>
  268.         <reserved5> 0 </reserved5>
  269.         <reserved4> 0 </reserved4>
  270.         <reserved3> 0 </reserved3>
  271.         <reserved2> 0 </reserved2>
  272.         <reserved1> 0 </reserved1>
  273.         <enabled> <true /> </enabled>
  274.         <rect>
  275.             <left>100</left>
  276.             <top>259</top>
  277.             <right>169</right>
  278.             <bottom>274</bottom>
  279.         </rect>
  280.         <style>rectangle</style>
  281.         <showName> <true /> </showName>
  282.         <highlight> <false /> </highlight>
  283.         <autoHighlight> <true /> </autoHighlight>
  284.         <sharedHighlight> <true /> </sharedHighlight>
  285.         <family>0</family>
  286.         <titleWidth>0</titleWidth>
  287.         <icon>0</icon>
  288.         <textAlign>center</textAlign>
  289.         <font>Geneva</font>
  290.         <textSize>10</textSize>
  291.         <textStyle>plain</textStyle>
  292.         <name>PassiveOpen</name>
  293.         <script>on mouseUpglobal connectionIDput TCPPassiveOpen(item 1 of field "address",field "port", ┬¼field "local port") into connectionIDif connectionID contains "fail" thenput "The Result:" && connectionIDput empty into connectionIDend ifend mouseUp</script>
  294.     </part>
  295.     <part>
  296.         <id>32</id>
  297.         <type>button</type>
  298.         <visible> <true /> </visible>
  299.         <reserved5> 0 </reserved5>
  300.         <reserved4> 0 </reserved4>
  301.         <reserved3> 0 </reserved3>
  302.         <reserved2> 0 </reserved2>
  303.         <reserved1> 0 </reserved1>
  304.         <enabled> <true /> </enabled>
  305.         <rect>
  306.             <left>274</left>
  307.             <top>282</top>
  308.             <right>331</right>
  309.             <bottom>298</bottom>
  310.         </rect>
  311.         <style>radiobutton</style>
  312.         <showName> <true /> </showName>
  313.         <highlight> <true /> </highlight>
  314.         <autoHighlight> <false /> </autoHighlight>
  315.         <sharedHighlight> <true /> </sharedHighlight>
  316.         <family>0</family>
  317.         <titleWidth>0</titleWidth>
  318.         <icon>0</icon>
  319.         <textAlign>center</textAlign>
  320.         <font>Geneva</font>
  321.         <textSize>10</textSize>
  322.         <textStyle>plain</textStyle>
  323.         <name>CrLf</name>
  324.         <script>on mouseUpset the hilite of bg button "CrLf" to trueset the hilite of bg button "Cr" to falseset the hilite of bg button "Nothing" to falseend mouseUp</script>
  325.     </part>
  326.     <part>
  327.         <id>33</id>
  328.         <type>button</type>
  329.         <visible> <true /> </visible>
  330.         <reserved5> 0 </reserved5>
  331.         <reserved4> 0 </reserved4>
  332.         <reserved3> 0 </reserved3>
  333.         <reserved2> 0 </reserved2>
  334.         <reserved1> 0 </reserved1>
  335.         <enabled> <true /> </enabled>
  336.         <rect>
  337.             <left>274</left>
  338.             <top>296</top>
  339.             <right>331</right>
  340.             <bottom>312</bottom>
  341.         </rect>
  342.         <style>radiobutton</style>
  343.         <showName> <true /> </showName>
  344.         <highlight> <false /> </highlight>
  345.         <autoHighlight> <false /> </autoHighlight>
  346.         <sharedHighlight> <true /> </sharedHighlight>
  347.         <family>0</family>
  348.         <titleWidth>0</titleWidth>
  349.         <icon>0</icon>
  350.         <textAlign>center</textAlign>
  351.         <font>Geneva</font>
  352.         <textSize>10</textSize>
  353.         <textStyle>plain</textStyle>
  354.         <name>Cr</name>
  355.         <script>on mouseUpset the hilite of bg button "Cr" to trueset the hilite of bg button "CrLf" to falseset the hilite of bg button "Nothing" to falseend mouseUp</script>
  356.     </part>
  357.     <part>
  358.         <id>34</id>
  359.         <type>button</type>
  360.         <visible> <true /> </visible>
  361.         <reserved5> 0 </reserved5>
  362.         <reserved4> 0 </reserved4>
  363.         <reserved3> 0 </reserved3>
  364.         <reserved2> 0 </reserved2>
  365.         <reserved1> 0 </reserved1>
  366.         <enabled> <true /> </enabled>
  367.         <rect>
  368.             <left>274</left>
  369.             <top>310</top>
  370.             <right>331</right>
  371.             <bottom>326</bottom>
  372.         </rect>
  373.         <style>radiobutton</style>
  374.         <showName> <true /> </showName>
  375.         <highlight> <false /> </highlight>
  376.         <autoHighlight> <false /> </autoHighlight>
  377.         <sharedHighlight> <true /> </sharedHighlight>
  378.         <family>0</family>
  379.         <titleWidth>0</titleWidth>
  380.         <icon>0</icon>
  381.         <textAlign>center</textAlign>
  382.         <font>Geneva</font>
  383.         <textSize>10</textSize>
  384.         <textStyle>plain</textStyle>
  385.         <name>Nothing</name>
  386.         <script>on mouseUpset the hilite of bg button "Nothing" to trueset the hilite of bg button "Cr" to falseset the hilite of bg button "CrLf" to falseend mouseUp</script>
  387.     </part>
  388.     <part>
  389.         <id>36</id>
  390.         <type>button</type>
  391.         <visible> <true /> </visible>
  392.         <reserved5> 0 </reserved5>
  393.         <reserved4> 0 </reserved4>
  394.         <reserved3> 0 </reserved3>
  395.         <reserved2> 0 </reserved2>
  396.         <reserved1> 0 </reserved1>
  397.         <enabled> <true /> </enabled>
  398.         <rect>
  399.             <left>127</left>
  400.             <top>284</top>
  401.             <right>205</right>
  402.             <bottom>303</bottom>
  403.         </rect>
  404.         <style>rectangle</style>
  405.         <showName> <true /> </showName>
  406.         <highlight> <false /> </highlight>
  407.         <autoHighlight> <true /> </autoHighlight>
  408.         <sharedHighlight> <true /> </sharedHighlight>
  409.         <family>0</family>
  410.         <titleWidth>0</titleWidth>
  411.         <icon>0</icon>
  412.         <textAlign>center</textAlign>
  413.         <font>Chicago</font>
  414.         <textSize>12</textSize>
  415.         <textStyle>plain</textStyle>
  416.         <name>Send Line</name>
  417.         <script>on mouseUpglobal connectionIDask "Line to send:" && connectionIDif it is not empty thenif the hilite of bg button "Cr" thenput return after itelse if the hilite of bg button "CrLf" thenput return & linefeed after itend ifTCPSend connectionID,itif the result is not empty then put "The Result:" && the resultif the optionKey is down thenput TCPRecvMsg(connectionID,1800,"2",10000) into newInputif newInput is not empty thenget rect of field "screen"get (item 4 of it) - (item 2 of it)put (it div (the textHeight of field "screen"))-1 into linesAvailget field "screen" & newInputput the number of lines in it into linesThereif linesThere > linesAvail thendelete line 1 to (linesThere-linesAvail) of itend ifput it into field "screen"end ifend ifend ifend mouseUp</script>
  418.     </part>
  419.     <part>
  420.         <id>37</id>
  421.         <type>field</type>
  422.         <visible> <true /> </visible>
  423.         <dontWrap> <false /> </dontWrap>
  424.         <dontSearch> <false /> </dontSearch>
  425.         <sharedText> <false /> </sharedText>
  426.         <fixedLineHeight> <true /> </fixedLineHeight>
  427.         <autoTab> <false /> </autoTab>
  428.         <lockText> <true /> </lockText>
  429.         <rect>
  430.             <left>23</left>
  431.             <top>303</top>
  432.             <right>334</right>
  433.             <bottom>327</bottom>
  434.         </rect>
  435.         <style>rectangle</style>
  436.         <autoSelect> <false /> </autoSelect>
  437.         <showLines> <false /> </showLines>
  438.         <wideMargins> <false /> </wideMargins>
  439.         <multipleLines> <false /> </multipleLines>
  440.         <reservedFamily> 0 </reservedFamily>
  441.         <titleWidth>0</titleWidth>
  442.         <icon>0</icon>
  443.         <textAlign>left</textAlign>
  444.         <font>New York</font>
  445.         <textSize>12</textSize>
  446.         <textStyle>plain</textStyle>
  447.         <textHeight>16</textHeight>
  448.         <name>state</name>
  449.         <script></script>
  450.     </part>
  451.     <part>
  452.         <id>40</id>
  453.         <type>button</type>
  454.         <visible> <true /> </visible>
  455.         <reserved5> 0 </reserved5>
  456.         <reserved4> 0 </reserved4>
  457.         <reserved3> 0 </reserved3>
  458.         <reserved2> 0 </reserved2>
  459.         <reserved1> 0 </reserved1>
  460.         <enabled> <true /> </enabled>
  461.         <rect>
  462.             <left>17</left>
  463.             <top>188</top>
  464.             <right>91</right>
  465.             <bottom>203</bottom>
  466.         </rect>
  467.         <style>rectangle</style>
  468.         <showName> <true /> </showName>
  469.         <highlight> <false /> </highlight>
  470.         <autoHighlight> <true /> </autoHighlight>
  471.         <sharedHighlight> <true /> </sharedHighlight>
  472.         <family>0</family>
  473.         <titleWidth>0</titleWidth>
  474.         <icon>0</icon>
  475.         <textAlign>center</textAlign>
  476.         <font>Geneva</font>
  477.         <textSize>10</textSize>
  478.         <textStyle>plain</textStyle>
  479.         <name>Clear Display</name>
  480.         <script>on mouseUpput empty into field "screen"end mouseUp</script>
  481.     </part>
  482.     <part>
  483.         <id>41</id>
  484.         <type>button</type>
  485.         <visible> <true /> </visible>
  486.         <reserved5> 0 </reserved5>
  487.         <reserved4> 0 </reserved4>
  488.         <reserved3> 0 </reserved3>
  489.         <reserved2> 0 </reserved2>
  490.         <reserved1> 0 </reserved1>
  491.         <enabled> <true /> </enabled>
  492.         <rect>
  493.             <left>131</left>
  494.             <top>276</top>
  495.             <right>177</right>
  496.             <bottom>291</bottom>
  497.         </rect>
  498.         <style>rectangle</style>
  499.         <showName> <true /> </showName>
  500.         <highlight> <false /> </highlight>
  501.         <autoHighlight> <true /> </autoHighlight>
  502.         <sharedHighlight> <true /> </sharedHighlight>
  503.         <family>0</family>
  504.         <titleWidth>0</titleWidth>
  505.         <icon>0</icon>
  506.         <textAlign>center</textAlign>
  507.         <font>Geneva</font>
  508.         <textSize>10</textSize>
  509.         <textStyle>plain</textStyle>
  510.         <name>Close</name>
  511.         <script>on mouseUpglobal connectionIDsend mouseup to bg button "release"TCPClose connectionIDif the result is not empty then put "The Result:" && the resultend mouseUp</script>
  512.     </part>
  513.     <part>
  514.         <id>42</id>
  515.         <type>button</type>
  516.         <visible> <true /> </visible>
  517.         <reserved5> 0 </reserved5>
  518.         <reserved4> 0 </reserved4>
  519.         <reserved3> 0 </reserved3>
  520.         <reserved2> 0 </reserved2>
  521.         <reserved1> 0 </reserved1>
  522.         <enabled> <true /> </enabled>
  523.         <rect>
  524.             <left>23</left>
  525.             <top>283</top>
  526.             <right>93</right>
  527.             <bottom>302</bottom>
  528.         </rect>
  529.         <style>shadow</style>
  530.         <showName> <true /> </showName>
  531.         <highlight> <false /> </highlight>
  532.         <autoHighlight> <true /> </autoHighlight>
  533.         <sharedHighlight> <true /> </sharedHighlight>
  534.         <family>0</family>
  535.         <titleWidth>0</titleWidth>
  536.         <icon>0</icon>
  537.         <textAlign>center</textAlign>
  538.         <font>Geneva</font>
  539.         <textSize>10</textSize>
  540.         <textStyle>plain</textStyle>
  541.         <name>Close</name>
  542.         <script>on mouseUpglobal connectionIDTCPRelease connectionIDif the result is not empty then put "The Result:" && the resultput empty into connectionIDend mouseUp</script>
  543.     </part>
  544.     <part>
  545.         <id>45</id>
  546.         <type>field</type>
  547.         <visible> <true /> </visible>
  548.         <dontWrap> <false /> </dontWrap>
  549.         <dontSearch> <false /> </dontSearch>
  550.         <sharedText> <false /> </sharedText>
  551.         <fixedLineHeight> <false /> </fixedLineHeight>
  552.         <autoTab> <false /> </autoTab>
  553.         <lockText> <false /> </lockText>
  554.         <rect>
  555.             <left>97</left>
  556.             <top>246</top>
  557.             <right>334</right>
  558.             <bottom>303</bottom>
  559.         </rect>
  560.         <style>scrolling</style>
  561.         <autoSelect> <false /> </autoSelect>
  562.         <showLines> <false /> </showLines>
  563.         <wideMargins> <false /> </wideMargins>
  564.         <multipleLines> <false /> </multipleLines>
  565.         <reservedFamily> 0 </reservedFamily>
  566.         <titleWidth>0</titleWidth>
  567.         <icon>0</icon>
  568.         <textAlign>left</textAlign>
  569.         <font>Geneva</font>
  570.         <textSize>9</textSize>
  571.         <textStyle>bold</textStyle>
  572.         <textHeight>12</textHeight>
  573.         <name>Groups</name>
  574.         <script></script>
  575.     </part>
  576.     <part>
  577.         <id>46</id>
  578.         <type>field</type>
  579.         <visible> <true /> </visible>
  580.         <dontWrap> <false /> </dontWrap>
  581.         <dontSearch> <false /> </dontSearch>
  582.         <sharedText> <false /> </sharedText>
  583.         <fixedLineHeight> <false /> </fixedLineHeight>
  584.         <autoTab> <false /> </autoTab>
  585.         <lockText> <false /> </lockText>
  586.         <rect>
  587.             <left>354</left>
  588.             <top>267</top>
  589.             <right>399</right>
  590.             <bottom>283</bottom>
  591.         </rect>
  592.         <style>rectangle</style>
  593.         <autoSelect> <false /> </autoSelect>
  594.         <showLines> <false /> </showLines>
  595.         <wideMargins> <false /> </wideMargins>
  596.         <multipleLines> <false /> </multipleLines>
  597.         <reservedFamily> 0 </reservedFamily>
  598.         <titleWidth>0</titleWidth>
  599.         <icon>0</icon>
  600.         <textAlign>right</textAlign>
  601.         <font>Geneva</font>
  602.         <textSize>9</textSize>
  603.         <textStyle>bold</textStyle>
  604.         <textHeight>12</textHeight>
  605.         <name>P1</name>
  606.         <script></script>
  607.     </part>
  608.     <part>
  609.         <id>47</id>
  610.         <type>field</type>
  611.         <visible> <true /> </visible>
  612.         <dontWrap> <false /> </dontWrap>
  613.         <dontSearch> <false /> </dontSearch>
  614.         <sharedText> <false /> </sharedText>
  615.         <fixedLineHeight> <false /> </fixedLineHeight>
  616.         <autoTab> <false /> </autoTab>
  617.         <lockText> <false /> </lockText>
  618.         <rect>
  619.             <left>431</left>
  620.             <top>267</top>
  621.             <right>476</right>
  622.             <bottom>283</bottom>
  623.         </rect>
  624.         <style>rectangle</style>
  625.         <autoSelect> <false /> </autoSelect>
  626.         <showLines> <false /> </showLines>
  627.         <wideMargins> <false /> </wideMargins>
  628.         <multipleLines> <false /> </multipleLines>
  629.         <reservedFamily> 0 </reservedFamily>
  630.         <titleWidth>0</titleWidth>
  631.         <icon>0</icon>
  632.         <textAlign>right</textAlign>
  633.         <font>Geneva</font>
  634.         <textSize>9</textSize>
  635.         <textStyle>bold</textStyle>
  636.         <textHeight>12</textHeight>
  637.         <name>p2</name>
  638.         <script></script>
  639.     </part>
  640.     <part>
  641.         <id>48</id>
  642.         <type>field</type>
  643.         <visible> <true /> </visible>
  644.         <dontWrap> <false /> </dontWrap>
  645.         <dontSearch> <false /> </dontSearch>
  646.         <sharedText> <false /> </sharedText>
  647.         <fixedLineHeight> <false /> </fixedLineHeight>
  648.         <autoTab> <false /> </autoTab>
  649.         <lockText> <false /> </lockText>
  650.         <rect>
  651.             <left>394</left>
  652.             <top>187</top>
  653.             <right>441</right>
  654.             <bottom>202</bottom>
  655.         </rect>
  656.         <style>rectangle</style>
  657.         <autoSelect> <false /> </autoSelect>
  658.         <showLines> <false /> </showLines>
  659.         <wideMargins> <false /> </wideMargins>
  660.         <multipleLines> <false /> </multipleLines>
  661.         <reservedFamily> 0 </reservedFamily>
  662.         <titleWidth>0</titleWidth>
  663.         <icon>0</icon>
  664.         <textAlign>right</textAlign>
  665.         <font>Geneva</font>
  666.         <textSize>9</textSize>
  667.         <textStyle>bold</textStyle>
  668.         <textHeight>12</textHeight>
  669.         <name>Gnumber</name>
  670.         <script></script>
  671.     </part>
  672.     <part>
  673.         <id>49</id>
  674.         <type>field</type>
  675.         <visible> <true /> </visible>
  676.         <dontWrap> <false /> </dontWrap>
  677.         <dontSearch> <false /> </dontSearch>
  678.         <sharedText> <false /> </sharedText>
  679.         <fixedLineHeight> <false /> </fixedLineHeight>
  680.         <autoTab> <false /> </autoTab>
  681.         <lockText> <false /> </lockText>
  682.         <rect>
  683.             <left>458</left>
  684.             <top>210</top>
  685.             <right>503</right>
  686.             <bottom>226</bottom>
  687.         </rect>
  688.         <style>rectangle</style>
  689.         <autoSelect> <false /> </autoSelect>
  690.         <showLines> <false /> </showLines>
  691.         <wideMargins> <false /> </wideMargins>
  692.         <multipleLines> <false /> </multipleLines>
  693.         <reservedFamily> 0 </reservedFamily>
  694.         <titleWidth>0</titleWidth>
  695.         <icon>0</icon>
  696.         <textAlign>right</textAlign>
  697.         <font>Geneva</font>
  698.         <textSize>9</textSize>
  699.         <textStyle>bold</textStyle>
  700.         <textHeight>12</textHeight>
  701.         <name>LLines</name>
  702.         <script></script>
  703.     </part>
  704.     <part>
  705.         <id>50</id>
  706.         <type>field</type>
  707.         <visible> <true /> </visible>
  708.         <dontWrap> <false /> </dontWrap>
  709.         <dontSearch> <false /> </dontSearch>
  710.         <sharedText> <false /> </sharedText>
  711.         <fixedLineHeight> <false /> </fixedLineHeight>
  712.         <autoTab> <false /> </autoTab>
  713.         <lockText> <false /> </lockText>
  714.         <rect>
  715.             <left>247</left>
  716.             <top>187</top>
  717.             <right>393</right>
  718.             <bottom>203</bottom>
  719.         </rect>
  720.         <style>rectangle</style>
  721.         <autoSelect> <false /> </autoSelect>
  722.         <showLines> <false /> </showLines>
  723.         <wideMargins> <false /> </wideMargins>
  724.         <multipleLines> <false /> </multipleLines>
  725.         <reservedFamily> 0 </reservedFamily>
  726.         <titleWidth>0</titleWidth>
  727.         <icon>0</icon>
  728.         <textAlign>center</textAlign>
  729.         <font>Geneva</font>
  730.         <textSize>9</textSize>
  731.         <textStyle>bold</textStyle>
  732.         <textHeight>12</textHeight>
  733.         <name>Gname</name>
  734.         <script></script>
  735.     </part>
  736.     <part>
  737.         <id>51</id>
  738.         <type>field</type>
  739.         <visible> <true /> </visible>
  740.         <dontWrap> <false /> </dontWrap>
  741.         <dontSearch> <false /> </dontSearch>
  742.         <sharedText> <false /> </sharedText>
  743.         <fixedLineHeight> <false /> </fixedLineHeight>
  744.         <autoTab> <false /> </autoTab>
  745.         <lockText> <false /> </lockText>
  746.         <rect>
  747.             <left>229</left>
  748.             <top>25</top>
  749.             <right>496</right>
  750.             <bottom>185</bottom>
  751.         </rect>
  752.         <style>rectangle</style>
  753.         <autoSelect> <false /> </autoSelect>
  754.         <showLines> <false /> </showLines>
  755.         <wideMargins> <false /> </wideMargins>
  756.         <multipleLines> <false /> </multipleLines>
  757.         <reservedFamily> 0 </reservedFamily>
  758.         <titleWidth>0</titleWidth>
  759.         <icon>0</icon>
  760.         <textAlign>left</textAlign>
  761.         <font>Geneva</font>
  762.         <textSize>11</textSize>
  763.         <textStyle>bold</textStyle>
  764.         <textHeight>14</textHeight>
  765.         <name>Lause</name>
  766.         <script></script>
  767.     </part>
  768.     <part>
  769.         <id>53</id>
  770.         <type>field</type>
  771.         <visible> <true /> </visible>
  772.         <dontWrap> <false /> </dontWrap>
  773.         <dontSearch> <false /> </dontSearch>
  774.         <sharedText> <false /> </sharedText>
  775.         <fixedLineHeight> <false /> </fixedLineHeight>
  776.         <autoTab> <false /> </autoTab>
  777.         <lockText> <true /> </lockText>
  778.         <rect>
  779.             <left>345</left>
  780.             <top>317</top>
  781.             <right>428</right>
  782.             <bottom>331</bottom>
  783.         </rect>
  784.         <style>rectangle</style>
  785.         <autoSelect> <false /> </autoSelect>
  786.         <showLines> <false /> </showLines>
  787.         <wideMargins> <false /> </wideMargins>
  788.         <multipleLines> <false /> </multipleLines>
  789.         <reservedFamily> 0 </reservedFamily>
  790.         <titleWidth>0</titleWidth>
  791.         <icon>0</icon>
  792.         <textAlign>center</textAlign>
  793.         <font>Geneva</font>
  794.         <textSize>9</textSize>
  795.         <textStyle>bold</textStyle>
  796.         <textHeight>12</textHeight>
  797.         <name>lang</name>
  798.         <script>on mouseupif bg field "lang" is "finnish" thenput "english" into bg field "lang"else if bg field "lang" is "english" thenput "automatic" into bg field "lang"else put "finnish" into bg field "lang"end mouseup</script>
  799.     </part>
  800.     <part>
  801.         <id>54</id>
  802.         <type>button</type>
  803.         <visible> <true /> </visible>
  804.         <reserved5> 0 </reserved5>
  805.         <reserved4> 0 </reserved4>
  806.         <reserved3> 0 </reserved3>
  807.         <reserved2> 0 </reserved2>
  808.         <reserved1> 0 </reserved1>
  809.         <enabled> <true /> </enabled>
  810.         <rect>
  811.             <left>401</left>
  812.             <top>257</top>
  813.             <right>417</right>
  814.             <bottom>275</bottom>
  815.         </rect>
  816.         <style>rectangle</style>
  817.         <showName> <false /> </showName>
  818.         <highlight> <false /> </highlight>
  819.         <autoHighlight> <false /> </autoHighlight>
  820.         <sharedHighlight> <true /> </sharedHighlight>
  821.         <family>0</family>
  822.         <titleWidth>0</titleWidth>
  823.         <icon>16692</icon>
  824.         <textAlign>center</textAlign>
  825.         <font>Chicago</font>
  826.         <textSize>12</textSize>
  827.         <textStyle>plain</textStyle>
  828.         <name>up</name>
  829.         <script>on mouseUpget bg field "p1"put it+10 into bg field "p1"end mouseUp</script>
  830.     </part>
  831.     <part>
  832.         <id>55</id>
  833.         <type>button</type>
  834.         <visible> <true /> </visible>
  835.         <reserved5> 0 </reserved5>
  836.         <reserved4> 0 </reserved4>
  837.         <reserved3> 0 </reserved3>
  838.         <reserved2> 0 </reserved2>
  839.         <reserved1> 0 </reserved1>
  840.         <enabled> <true /> </enabled>
  841.         <rect>
  842.             <left>401</left>
  843.             <top>274</top>
  844.             <right>417</right>
  845.             <bottom>292</bottom>
  846.         </rect>
  847.         <style>rectangle</style>
  848.         <showName> <false /> </showName>
  849.         <highlight> <false /> </highlight>
  850.         <autoHighlight> <false /> </autoHighlight>
  851.         <sharedHighlight> <true /> </sharedHighlight>
  852.         <family>0</family>
  853.         <titleWidth>0</titleWidth>
  854.         <icon>3584</icon>
  855.         <textAlign>center</textAlign>
  856.         <font>Chicago</font>
  857.         <textSize>12</textSize>
  858.         <textStyle>plain</textStyle>
  859.         <name>down</name>
  860.         <script>on mouseUpget bg field "p1"put it-10 into bg field "p1"end mouseUp</script>
  861.     </part>
  862.     <part>
  863.         <id>56</id>
  864.         <type>button</type>
  865.         <visible> <true /> </visible>
  866.         <reserved5> 0 </reserved5>
  867.         <reserved4> 0 </reserved4>
  868.         <reserved3> 0 </reserved3>
  869.         <reserved2> 0 </reserved2>
  870.         <reserved1> 0 </reserved1>
  871.         <enabled> <true /> </enabled>
  872.         <rect>
  873.             <left>476</left>
  874.             <top>257</top>
  875.             <right>492</right>
  876.             <bottom>275</bottom>
  877.         </rect>
  878.         <style>rectangle</style>
  879.         <showName> <false /> </showName>
  880.         <highlight> <false /> </highlight>
  881.         <autoHighlight> <false /> </autoHighlight>
  882.         <sharedHighlight> <true /> </sharedHighlight>
  883.         <family>0</family>
  884.         <titleWidth>0</titleWidth>
  885.         <icon>16692</icon>
  886.         <textAlign>center</textAlign>
  887.         <font>Chicago</font>
  888.         <textSize>12</textSize>
  889.         <textStyle>plain</textStyle>
  890.         <name>down</name>
  891.         <script>on mouseUpget bg field "p2"put it+10 into bg field "p2"end mouseUp</script>
  892.     </part>
  893.     <part>
  894.         <id>57</id>
  895.         <type>button</type>
  896.         <visible> <true /> </visible>
  897.         <reserved5> 0 </reserved5>
  898.         <reserved4> 0 </reserved4>
  899.         <reserved3> 0 </reserved3>
  900.         <reserved2> 0 </reserved2>
  901.         <reserved1> 0 </reserved1>
  902.         <enabled> <true /> </enabled>
  903.         <rect>
  904.             <left>476</left>
  905.             <top>274</top>
  906.             <right>492</right>
  907.             <bottom>292</bottom>
  908.         </rect>
  909.         <style>rectangle</style>
  910.         <showName> <false /> </showName>
  911.         <highlight> <false /> </highlight>
  912.         <autoHighlight> <false /> </autoHighlight>
  913.         <sharedHighlight> <true /> </sharedHighlight>
  914.         <family>0</family>
  915.         <titleWidth>0</titleWidth>
  916.         <icon>3584</icon>
  917.         <textAlign>center</textAlign>
  918.         <font>Chicago</font>
  919.         <textSize>12</textSize>
  920.         <textStyle>plain</textStyle>
  921.         <name>down</name>
  922.         <script>on mouseUpget bg field "p2"put it-10 into bg field "p2"end mouseUp</script>
  923.     </part>
  924.     <part>
  925.         <id>58</id>
  926.         <type>button</type>
  927.         <visible> <true /> </visible>
  928.         <reserved5> 0 </reserved5>
  929.         <reserved4> 0 </reserved4>
  930.         <reserved3> 0 </reserved3>
  931.         <reserved2> 0 </reserved2>
  932.         <reserved1> 0 </reserved1>
  933.         <enabled> <true /> </enabled>
  934.         <rect>
  935.             <left>450</left>
  936.             <top>142</top>
  937.             <right>500</right>
  938.             <bottom>193</bottom>
  939.         </rect>
  940.         <style>shadow</style>
  941.         <showName> <true /> </showName>
  942.         <highlight> <false /> </highlight>
  943.         <autoHighlight> <true /> </autoHighlight>
  944.         <sharedHighlight> <true /> </sharedHighlight>
  945.         <family>0</family>
  946.         <titleWidth>0</titleWidth>
  947.         <icon>2478</icon>
  948.         <textAlign>center</textAlign>
  949.         <font>Chicago</font>
  950.         <textSize>12</textSize>
  951.         <textStyle>plain</textStyle>
  952.         <name>Say it</name>
  953.         <script>on mouseUpput bg field "lang" into langif lang is "automatic" thenif it contains " the " or it contains " am " or it contains " i " thenput "english" into langend ifif it contains " there " or it contains " no " thenput "english" into langend ifend ifget bg field "lause"if it is not empty thenif char 1 to 10 of it is not "In article" thenput first char of it into xif x >= "0" and x <= "9" thenelse if x Γëá "|" thenif  x = ">" thendelete char 1 of it-- nopeus, korkeus, vaihtelu, voima, alun painotusif it is  not empty  thenif lang is "finnish" thenpuhuJanne ctoc("><","  ",it),1,-1,3,4,0elsespeak ctoc("><","  ",it),bg field "p1",bg field "p2"-10end ifend if--elseif lang is "finnish" thenpuhuKristian ctoc("><","  ",it),1,-1,3,4,0elsespeak ctoc("><","  ",it),bg field "p1",bg field "p2"end ifend ifend ifend ifend ifend mouseUp</script>
  954.     </part>
  955.     <part>
  956.         <id>59</id>
  957.         <type>button</type>
  958.         <visible> <true /> </visible>
  959.         <reserved5> 0 </reserved5>
  960.         <reserved4> 0 </reserved4>
  961.         <reserved3> 0 </reserved3>
  962.         <reserved2> 0 </reserved2>
  963.         <reserved1> 0 </reserved1>
  964.         <enabled> <true /> </enabled>
  965.         <rect>
  966.             <left>450</left>
  967.             <top>91</top>
  968.             <right>501</right>
  969.             <bottom>139</bottom>
  970.         </rect>
  971.         <style>shadow</style>
  972.         <showName> <true /> </showName>
  973.         <highlight> <false /> </highlight>
  974.         <autoHighlight> <true /> </autoHighlight>
  975.         <sharedHighlight> <true /> </sharedHighlight>
  976.         <family>0</family>
  977.         <titleWidth>0</titleWidth>
  978.         <icon>16735</icon>
  979.         <textAlign>center</textAlign>
  980.         <font>Chicago</font>
  981.         <textSize>12</textSize>
  982.         <textStyle>plain</textStyle>
  983.         <name>Zippy</name>
  984.         <script>on mouseUpif visible of card field "Zippy" is false thenshow card field "Zippy"elsehide card field "Zippy"end ifend mouseUp</script>
  985.     </part>
  986.     <name>speaker</name>
  987.     <script>on idleglobal connectionID, cgroup--put the heapSpaceif connectionID is empty thenput "no connection" into field "state"if random(1000) > 995 then zippyexit idleend ifget TCPState(connectionID)put it into field "state"if it is not "established" then exit idle--                           return,10,emptyput TCPRecvUpTo(connectionID,empty,60,empty) into newInputif newInput is not empty thenput ctoc("=-<?!*_;{}|[]\"&linefeed,"   ..  ,├ñ├Ñ├╢├ä├à├û ",newinput) ┬¼into newinputget field "screen" & newInputput number of characters of it into ccountif ccount > 25000 thenput empty into itend ifput it into field "screen"if newinput contains "NNTP" and it contains "server" then groupif newinput contains "request text separ" then readnextif newinput contains "420 No current article" then groupif newinput contains "421 No next article" then groupput ccount into bg field "Llines"end ifend idleon sktalk-- put number of lines of bg field "screen" into aput number of words of bg field "screen" into arepeat with i=1 to aput empty into lauseset lockscreen to truerepeat with k=1 to 100get word 1 of bg field "screen"if it is empty then exit repeatdelete word 1 of bg field "screen"put it & " " after lauseif last char of it is "." then exit repeatend repeatif lause is empty then exit repeatset lockscreen to falseget lauseput bg field "lang" into langif lang is "automatic" thenput "finnish" into langput itif it contains " the " or it contains " are " or ┬¼it contains " am " or it contains " i " or ┬¼it contains " you " thenput "english" into langend ifif it contains " there " or ┬¼it contains " no " or it contains " is "thenput "english" into langend ifend ifput ctoc("><","  ",it) into itput it & " (" & lang & ")" into  bg field "Lause"if it is not empty then-- put langif char 1 to 10 of it is not "In article" thenput first char of it into xif x >= "0" and x <= "9" thenelseif x Γëá "|" thenif  x = ">" thendelete char 1 of it-- nopeus, korkeus, vaihtelu, voima, alun painotusif it is  not empty  thenif lang is "finnish" then-- put "Janne"puhuJanne it,1,-1,3,4,0else-- put "Zippy"speak it,bg field "p1",bg field "p2"-10end ifend if--else-- vastausteksti eri ├ñ├ñnell├ñif lang is "finnish" then-- put "Kristian"puhuKristian it,1,-1,3,4,0else-- put "Zippy2"speak it,bg field "p1",bg field "p2"end ifend ifend ifend ifend ifend ifif the mouse is down then exit sktalk-- delete line 1 of bg field "screen"end repeatput empty into bg field "Screen"end sktalkon groupglobal connectionID,cgroupput bg field "Gnumber" into gnumberput gnumber+1 into gnumberput Gnumber into bg field "Gnumber"if number of lines of bg field "Groups" < gnumber then ┬¼put 1 into gnumberput line gnumber of bg field "groups" into cgroupput cgroup into bg field "Gname"TCPSendsk connectionID,"GROUP" && cgroupreadnextput empty into field "screen"end groupon readnextglobal connectionIDsktalkTCPSendsk connectionID,"NEXT"TCPSendsk connectionID,"BODY"put empty into field "screen"end readnexton tcpsendsk c,rTCPSend c,r & return & linefeed-- put c && rend tcpsendskon openCardglobal connectionID, gnumberput 1 into gnumberput empty into connectionIDend openCardon closeCardglobal connectionIDif connectionID is not empty thenTCPRelease connectionIDput empty into connectionIDend ifend closeCardon closestackglobal  connectionIDTCPRelease connectionIDend closestack</script>
  988. </background>
  989.